package com.daiqee.vo;

import java.util.List;

/**
 * 接收数组对象外加一个Bean对象<br/>
 * json字符串格式传输<br/>
 * 
 * <pre>
 * 	{
 *		"array": [{
 *			"userId": "1",
 *			"userName":"Test"
 *		}],
 *		"obj": {
 *			"name": "RichardTang",
 *			"age" : "17"
 *		},
 *		"ids": "xxx"
 *	}
 * </pre>
 * <br/>
 * @version  V2.1
 * @author RichardTang 
 * @date: 2018年5月7日 下午5:58:38
 * @package com.daiqee.tdo
 * @copyright:Copyright (c) 2018, 1245811923@qq.com All Rights Reserved.
 * @param <T> 集合中存放的bean类型
 * @param <Obj> 对象类型
 */
public class JsonObjsVO<T, Obj> {

	private List<T> array;	//json格式的key必须是array

	private Obj obj;		//json格式的key必须是obj
	
	private String ids;	    //id属性
	
	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}

	public List<T> getArray() {
		return array;
	}

	public void setArray(List<T> array) {
		this.array = array;
	}

	public Obj getObj() {
		return obj;
	}

	public void setObj(Obj obj) {
		this.obj = obj;
	}
	
}
